/*
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-08-23 10:47:18
 * @LastEditTime: 2019-08-23 10:49:34
 * @LastEditors: Please set LastEditors
 */
import axios from '../axios'

/*
 * 用户管理模块
 */

// 保存
export const save = (data) => {
    return axios({
        url: '/cmsContent/save',
        method: 'post',
        data
    })
}
// 删除
export const batchDelete = (data) => {
    return axios({
        url: '/cmsContent/delete',
        method: 'post',
        data
    })
}
// 分页查询
export const findPage = (data) => {
    return axios({
        url: '/cmsContent/findPage',
        method: 'post',
        data
    })
}
// 查找用户的菜单权限标识集合
export const findPermissions = (params) => {
    return axios({
        url: '/cmsContent/findPermissions',
        method: 'get',
        params
    })
}
